How to search a part of the string in a whole string in javascript
<p>Hello all
i have string like (Attribute)-Company_02.
in this i have to find the first occurrence of (Attribute)-.
How to achieve this?</p>

<p>Thank you,
Mihir</p>
