Category:Regular Expressions

From sasCommunity

Jump to: navigation, search

To add your contribution to this page, cut and paste the following tag to the end of your article/page/category: [[Category:Regular Expressions]]. DO NOT edit this page to add your article. Just add the category tag to your article.



A Regular Expression is a way to characterize a pattern that you would like to match or validate. Regular expressions, sometimes referred to as regex or regexp, are particularly helpful when working with or manipulating messy or unstructured character strings.

[edit] What Can I Do With Regex?

  • Match a pattern
  • Extract the matching characters
  • Replace the matched characters with a new string (i.e. Find-and-Replace)

[edit] Regex in SAS

There are a number of ways to use regular expressions in SAS.

  • RX functions and call routines - Version 7
  • PRX functions and call routines - Version 9
  • Calling a script( e.g. Perl ) via the x or %sysexec statments
  • java.util.regex package via the Java Object - Version 9

[edit] Why Would I Want to Learn Regex?


Subcategories

There is one subcategory to this category.

P

Articles in category "Regular Expressions"

There are 0 articles in this category.

Personal tools