Start of Content Area

Background documentation Examples of the Configuration of Text Properties  Locate the document in its SAP Library structure

You have a text document with the following content:

 

"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.

Author: P. Winter

author: Susan

Author: S. Summer

The End."

 

You want to create a text property that is to contain information about the author(s). Depending on the parameters configured, different results are achieved.

 

Example 1

Start Pattern = Author:

Match only first occurrence = activated

Case Sensitive Matching = activated

 

  Result: P. Winter

 

Example 2

Start Pattern = Author:

Match only first occurrence = deactivated

Case Sensitive Matching = activated

 

  Result: P. Winter, S. Summer

 

Example 3

Start Pattern = Author:

Match only first occurrence = deactivated

Case Sensitive Matching = deactivated

 

  Result: P. Winter, Susan, S. Summer

 

Example 4

Start Pattern = Author:

End Pattern = ter

Match only first occurrence = activated

Case Sensitive Matching = activated

 

  Result: P. Win

 

Example 5

Start Pattern = Author:

End Pattern = ter

Match only first occurrence = activated

Case Sensitive Matching = activated

Include Start and End Strings = activated

 

  Result: Author: P. Winter

 

Example 6

Start Pattern = Author:

End Pattern = ter

Match only first occurrence = activated

Case Sensitive Matching = activated

Include Start and End Strings = deactivated

Match Pattern = (\w+)\s+(\w+)

Report Expression = First Name: $1  Last Name: $2

 

  Result: First Name: P.  Last Name: Winter

 

 

End of Content Area