PeopleSoft Regular Expressions

From TekiWiki

Jump to: navigation, search

This whole wiki has now moved to http://www.springboardsolutions.com/wiki

Go to this page PeopleSoft Regular Expressions

(→Checking the Format)
 
Line 14: Line 14:
</pre>
</pre>
-
CreateJavaObject - creates the Java String object with the text to feed to the Regular Expression then referred to by &text.
+
'''CreateJavaObject''' - creates the Java String object with the text to feed to the Regular Expression then referred to by &text.
-
GetJavaClass - refers to the Pattern Java class statically so that it can run the compile method.
+
'''GetJavaClass''' - refers to the Pattern Java class statically so that it can run the compile method.
 +
 
 +
This trick can be used with any Java class you want to use in PeopleCode.
==Uses of Regular Expressions in PeopleCode==
==Uses of Regular Expressions in PeopleCode==
Line 25: Line 27:
Regular Expressions however provide a large number of additional possibilities that will allow sophisticated checks to be made with a very small amount of code.
Regular Expressions however provide a large number of additional possibilities that will allow sophisticated checks to be made with a very small amount of code.
-
 
+
===Text Processing===
 +
[[Regular Expressions]] also allow text processing that would take many Find, Substitute, Replace and SubString commands.
==More information on Regular Expressions==
==More information on Regular Expressions==

Latest revision as of 18:47, 19 January 2016

Personal tools