# Sevral results for regular expression

**URL:** https://www.finalbuilder.com/forums/t/sevral-results-for-regular-expression/1348
**Category:** Discussion
**Created:** [October 19, 2009, 8:17am UTC](https://www.finalbuilder.com/forums/t/sevral-results-for-regular-expression/1348 "2009-10-19T08:17:54Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 19, 2009, 8:17am UTC](https://www.finalbuilder.com/forums/t/sevral-results-for-regular-expression/1348/1 "2009-10-19T08:17:54Z")

</div>

&nbsp;Hello ,

I have sevral lines that &nbsp;matched my regular expression in Find/Replace Action.

How can I get each line separately. &nbsp;

I work whith FB5&nbsp;

Thank you

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 19, 2009, 11:42am UTC](https://www.finalbuilder.com/forums/t/sevral-results-for-regular-expression/1348/2 "2009-10-19T11:42:07Z")

</div>

You will need to write some script for that. The action fires the OnFindText script event for each match.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 21, 2009, 9:45am UTC](https://www.finalbuilder.com/forums/t/sevral-results-for-regular-expression/1348/3 "2009-10-21T09:45:01Z")

</div>

&nbsp;Where I have to catch this event?

If is not too difficult for you can you explain me more ?

Thank you

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 21, 2009, 10:36am UTC](https://www.finalbuilder.com/forums/t/sevral-results-for-regular-expression/1348/4 "2009-10-21T10:36:55Z")

</div>

Each Action has script events that it fires. Select the Action in the Action List, then look at the bottom row of tabs and select Script Editor. Note the screenshot below is from FB6 which has an extra event that is not available in FB5&nbsp;(OnMatchGroup).

![ScriptEvent.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/d/d8832bf1c83cfbcd9c8880728858e7da14b8d6f2.jpeg)

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 22, 2009, 3:41am UTC](https://www.finalbuilder.com/forums/t/sevral-results-for-regular-expression/1348/5 "2009-10-22T03:41:10Z")

</div>

&nbsp;Thank you
