- Sep 6, 2017
- 214
- 655
Hey there, i'm looking for someone that can help me find a regular expresion that does the following:
-Find the first word on text boxes.
-And only if there is a linebreak next to it.
Here is an example of the "first word" (Jayne):
And why do i need it? Because whenever i use this
The good thing is that this plugin is cappable to use REGEX to pick the first word and use it as a NAMETAG
forcing the word wrapping to start on below it.
By default, it uses 3 REGEX:
- ^.+:
- ^\[.+\]:
- ^\n<.+>+
So whenever the first word is: Jayne: - [Jayne] - <Jayne>
It will work as intended, Example:
So to make it short:
What regular expresion would you use to select the first word of a textbox if followed by a linebreak?
-Find the first word on text boxes.
-And only if there is a linebreak next to it.
Here is an example of the "first word" (Jayne):
And why do i need it? Because whenever i use this
You must be registered to see the links
, it doesn't recognize Jayne as a nametag and uses it as part of the text:The good thing is that this plugin is cappable to use REGEX to pick the first word and use it as a NAMETAG
forcing the word wrapping to start on below it.
By default, it uses 3 REGEX:
- ^.+:
- ^\[.+\]:
- ^\n<.+>+
So whenever the first word is: Jayne: - [Jayne] - <Jayne>
It will work as intended, Example:
So to make it short:
What regular expresion would you use to select the first word of a textbox if followed by a linebreak?