Extract miscellaneous values
Content: <div class ="welcomebar"> Welcome: John Doe </div>
Regex: <div class ="welcomebar"> Welcome: (\w* \w*) </div>
Comments:
- (\w* \w*) means "two words separated by a space". The brackets are required to define a group. The first and unique group refers to ''(\w* \w*)". Therefore, use $1$ in NeoLoad to extract both first and last names.
- Using "(\w*) (\w*)" instead of "(\w* \w*)" may be used to extract the first and last name separately. In this case, use $1$ to extract the first name and $2$ the last name.
Home