# Easiest way to make "fill in the blank"

**URL:** <https://forum.kirupa.com/t/easiest-way-to-make-fill-in-the-blank/186445>\
**Category:** Uncategorized\
**Created:** [April 21, 2006, 8:20am UTC](https://forum.kirupa.com/t/easiest-way-to-make-fill-in-the-blank/186445 "2006-04-21T08:20:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blaatorx](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@blaatorx](https://forum.kirupa.com/u/blaatorx)\
**Post date:** [April 21, 2006, 8:20am UTC](https://forum.kirupa.com/t/easiest-way-to-make-fill-in-the-blank/186445/1 "2006-04-21T08:20:32Z")

</div>

Peepz,  
I want to make a script that makes a “fill in the blank” format out of XML.

So i have a text that looks like this:  
“the (short) man is only 53 cm”

after the word (short) i want to place a input textfield so it can be changed to “shortest”.

how can i get the position of the word (with the () aroud it) and place the input text after it?

it will have to look like this:  
the (short)\_\_\_\_input text here\_\_\_\_man is only 53 cm.

i hope this is possible?  
thnx already!
