I have an application that I am trying to get the usernames out of the <title> tag.
I am using the JavaScript variable expression type with the “docment.title” variable. this results in grabbing page titles that have the username at the end.
We actually want to be able and grab any potential username from the statement. From my understanding this will always be one word that can be any combination of characters or numbers.
For usernames, there is always a common schema. You must then adjust the regex to find it. If you use the name you gave in the forum, you have a ready-made regular expression above.
If you want to catch any possible username, and your title will always follow the convention of Welcome , <username> at the end of the string, just use: