Example: Alex is my name!
I wan’t to assign in variable for the first word that end with letter “x”.
What jquery code to use? your help will be appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The following regular expression will match a word ending with “x”:
If you run that on some text, the result will contain the word:
If you want that word, and then the rest of the string following it: