Find last occurance

bersh

Client
Регистрация
25.02.2013
Сообщения
14
Благодарностей
0
Баллы
1
Hi there!

I'm wondering how to click the last occurrence of a string. For example I'm having text like following, and wanting to click the last occurance of digit "4"

Welcome to RegExr 0.3b, an intuitive tool for learning, writing, and testing Regular Expressions. Key features include:

* real time results: 4shows results as you type
* code hinting: roll over your expression to see info on specific elements
* detailed results: roll over a m4atch to see details & view group info below
* built in regex gu 4 ide: double click4 entries to insert them into your expression
* online & desktop: regexr.com or downloa4d the desktop version for Mac, Windows, or Linux
* save your expressions: My Saved expressions are saved locally
* search Community expressions an4d add your own
* create Share Links to send your expressions to co-workers or link to them on Twitter or your blog [ex. http://RegExr.com?2rjl6]

Built by gskinner.com with Flex 3 [adobe.com/go/flex] and Spelling Plus Library for text highlighting [gskinner.com/products/spl].

3 4 5
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
Choose '4' as your match and 'last' as the match #
 
  • Спасибо
Реакции: bersh

bersh

Client
Регистрация
25.02.2013
Сообщения
14
Благодарностей
0
Баллы
1
That simply works ! Thanks for your help :-)
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)