I was given advice by my friend to divorce my wife and he was not
clear to me or explained me the procedure and I was angry and in doubt
about doing it but he and my brother pushed me.
First of all, you should never take such a major decision as divorce when angry. In Islam, divorce is highly discouraged, but the provision is there in order to maintain harmony and avoid any injustice.
Divorce should be handled thus:
- Appoint an arbitrator from both parties 4:35:
And if you fear dissension between the two, send an arbitrator from
his people and an arbitrator from her people. If they both desire
reconciliation, Allah will cause it between them. Indeed, Allah is
ever Knowing and Acquainted [with all things].
- Wait 4 months (cooling off period) 2:226:
For those who swear not to have sexual relations with their wives is a
waiting time of four months, but if they return [to normal relations]
- then indeed, Allah is Forgiving and Merciful.
- You must have 2 witnesses 65:2:
And when they have [nearly] fulfilled their term, either retain them
according to acceptable terms or part with them according to
acceptable terms. And bring to witness two just men from among you and
establish the testimony for [the acceptance of] Allah . That is
instructed to whoever should believe in Allah and the Last day. And
whoever fears Allah - He will make for him a way out
As far as divorce during her menses in 65:1:
O Prophet, when you [Muslims] divorce women, divorce them for [the
commencement of] their waiting period and keep count of the waiting
period, and fear Allah , your Lord. Do not turn them out of their
[husbands'] houses, nor should they [themselves] leave [during that
period] unless they are committing a clear immorality. And those are
the limits [set by] Allah . And whoever transgresses the limits of
Allah has certainly wronged himself. You know not; perhaps Allah will
bring about after that a [different] matter.
In the above translation "their waiting period" is her menses. Some more discussion and references from http://islamqa.info/en/72417:
Shaykh Ibn Baaz (may Allaah have mercy on him) said: Divorce of a
menstruating woman does not count as such according to the more sound
of the two scholarly opinions, which is contrary to the view of the
majority. The majority of scholars think that it does count as such,
but the correct scholarly view is that reflected in the fatwas of some
of the Taabi’een and in the fatwa of Ibn ‘Umar (may Allaah be pleased
with him). This is also the view favoured by Shaykh al-Islam Ibn
Taymiyah and his student Ibn al-Qayyim and a number of scholars who
said that this divorce does not count as such, because it is contrary
to the laws of Allah. Allah decreed that a woman should be divorced
when she is in a state of purity, free from nifaas (postpartum
bleeding) and menses, and during a time of purity when her husband has
not yet had intercourse with her. This is the divorce that is
prescribed according to sharee’ah. If he divorces her during her
menses or nifaas, or during a time of purity when he has had
intercourse with her, then his divorce is bid’ah (an innovation) and
does not count as such according to the more sound of the two
scholarly views
Please do not take divorce lightly and I am kind of surprised you thought sending 3 SMS with "I divorce you" would work.